#
# import tensorflow as tf
# print(tf.test.is_gpu_available())
# print(tf.config.list_physical_devices('GPU'))
# # hello = tf.constant("Hello TensorFlow")
# # sess = tf.compat.v1.Session()
# # print(sess.run(hello))
# # a = tf.constant(10)
# # b = tf.constant(32)
# # print(sess.run(a+b))
#
# # import torch    # 如正常则静默
# # a = torch.Tensor([1.])    # 如正常则静默
# # print(a.cuda() )   # 如正常则返回"tensor([ 1.], device='cuda:0')"
# # from torch.backends import cudnn # 如正常则静默
# # print(cudnn.is_acceptable(a.cuda()) )   # 如正常则返回 "True"

